LeetCode 2448 Minimum Cost to Make Array Equal